Skip to content

fix(forum): align header subtitle with one-line ask question button - #495

Merged
trtajim merged 1 commit into
mainfrom
fix-forum-header-alignment
Nov 8, 2026
Merged

trtajim merged 1 commit into
mainfrom
fix-forum-header-alignment

Conversation

@trtajim

@trtajim trtajim commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds whitespace-nowrap and shrink-0 to the Ask Question button in /forum to keep it on a single line.
  • Top-aligns the header row on mobile with items-start and flex-1 on the title/subtitle block so the Bengali subtitle wraps naturally and aligns with the button.

Summary by CodeRabbit

  • Style
    • Improved the forum header layout on small screens, with content aligned at the top and centered on larger screens.
    • Adjusted the title and question button sizing so the button label and icon stay together without wrapping.

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The forum header now uses responsive alignment. The title container can shrink, while the question button and its contents resist shrinking and wrapping.

Changes: Forum header

Layer / File(s) Summary
Responsive header and button layout
resources/js/pages/Forum/Index.vue
The header aligns to the top on small screens and centers from the sm breakpoint. The title container can shrink. The question button, icons, and label do not shrink or wrap.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Low · up to 744b0

On narrow screens with enlarged text, the heading may overlap the question button. The change is otherwise mergeable with this accessibility issue tracked.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@trtajim
trtajim merged commit 92a6c0a into main Nov 8, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the fix-forum-header-alignment branch November 8, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant